package com.gfxy.mapper;

import com.gfxy.vo.Notice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {

    //插入通告
    public int insertNotice(Notice notice);

    //根据id 查询通告
    public Notice selectNoticeById(Integer id);

    //修改表单
    public int updateNotice(Notice notice);


    public List<Notice> selectNoticeList(Notice notice);

    public int deleteNoticeById(Integer id);

    public List<Notice> selectNotice(Notice notice);
}
